package com.hxzon.aixzsecretary.net;

import java.net.ServerSocket;
import java.net.Socket;

public class ChatServer extends Thread {
	public void run() {
		ServerSocket s;
		try {
			s = new ServerSocket(4001);
			while (true) {
				Socket socket = s.accept();
				new UserDialog(socket, "chat");
			}
		} catch (Exception e) {
		}
	}

}
